<div class="list-item" xmlns:th="http://www.thymeleaf.org" th:each="var : ${answerList}">

    <!-- 问题配图 -->

    <div class="list-item-top">
        <a target="_blank" class="type" th:href="${'answers/'+var.qid}" th:text="${var.tname}">综合口腔</a>
        <a target="_blank" class="ansewer type" th:href="${'answers/'+var.qid}" th:text="${var.answer == '0'}?'未答':'已答'"></a>
        <a target="_blank" class="place" th:href="${'answers/'+var.qid}">邀请您回答</a>
    </div>
    <div class="list-item-title">
        <a target="_blank" th:href="${'answers/'+var.qid}" th:text="${var.q_title}">喉咙发炎怎么办?</a>
    </div>



    <div class="list-item-content-text" th:if="${var.answerBean}">
        <div class="text-ansower-user">
            <a target="_blank" href="/user/1282955775085514752" class="user-img-name">
                <img src="http://rs.hasbei.com/header_images/c41ffe965b044a50a5701b676fb44e26.png">
                <span class="user-name" th:text="${var.answerBean.answer_name}">有贝口腔网 王白石</span>
            </a>
            <p class="text-ansower-p">
                <!-- <span class="text-ansower-line"></span> -->
                <span class="text-ansower-huida">[回答内容]</span>
            </p>
        </div>
        <p class="text-ansower-content" >
            <a target="_blank" th:href="${'answers/'+var.qid}" th:utext="${var.answerBean.answer_comment}">
                喉咙发炎是比较常见的疾病，患者主要会有疼痛、咳嗽等症状。患者需要遵医嘱服用消炎、化痰的药物。其次，患者还可以多食用清热解毒、润肺生津的食物，如雪梨、罗汉果等，对缓解症状有一定的帮助。
            </a>
        </p>
    </div>



    <div class="list-item-info">
        <div class="list-item-info-left">
            <a target="_blank" href="/user/1285006756161916928" class="user-img-name">
                <img src="http://rs.hasbei.com/header_images/de7549b22986408b8cf38d178df4fe6e.png">
                <span class="user-name" th:text="${var.name}">藤原拓海</span>
            </a>
            <span class="time">2天前</span>
            <a target="_blank" class="huida" th:href="${'answers/'+var.qid}"><span th:text="${var.answer}">1</span>个回答</a>
            <span class="dotted"></span>
            <a target="_blank" class="liulan" th:href="${'answers/'+var.qid}"><span th:text="${var.read_count}">15</span>阅读</a>
        </div>
        <div class="list-item-info-right">
            <a target="_blank" th:href="${'answers/'+var.qid}">
                <img src="/icon/Write.png" alt="有贝口腔网">
                <span>我要回答</span>
            </a>
        </div>
    </div>

</div>